package com.ggh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ggh.entity.WithDraw;

/**

 * @author ： jj
 * @date ：2019/10/14 11:55
 * @description : 提现
 * @path : RoomRecordService.java.RoomRecordService
 * @modifiedBy ：
 */
public interface WithDrawService extends IService<WithDraw> {
    /**
     * 查询相关提现数据
     * @param userid
     * @param type
     * @return
     */
    WithDraw getByType(Integer userid, Integer type);

    /**
     * 提现
     * @param withDraw
     * @return
     */
    boolean  wdDeposit(WithDraw withDraw);
}
